import {axios} from '@/utils/request'
/**
 * 聊天管理
 * */

// 查询
export function queryinfoChatManag (model) {
  return axios({
    url: '/infoChatManag/query',
    method: 'post',
    data: model
  })
}

// 删除
export function deleteInfoChatManag (id) {
  return axios({
    url: '/infoChatManag/delete/'+id,
    method: 'post'
  })
}

// 回复也就是修改的接口
export function editInfoChatManag (model) {
  return axios({
    url: '/infoChatManag/up/{id}',
    method: 'post',
    data: model
  })
}